<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<base href="<%=basePath%>" />

		<title>用户注册</title>

		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
		<link rel="stylesheet" type="text/css"
			href="/Machine/css/register.css" />

	</head>

	<body>
	<jsp:include page="header.jsp"></jsp:include>
		<div class="m">

			<div class="left_box">
				
				<div style="padding: 20px 50px 20px 50px;">

					<form   method="post"
						action="/Machine/user/userRegister">
						
						<s:fielderror></s:fielderror>

						<div class="reg_title">
							帐户信息
						</div>
						<table width="100%" cellspacing="5" cellpadding="5">
							<tr>
								<td class="tl">
									会员类型
								</td>
								<td>
									<input id="g_6" type="radio" value="供应商"
										name="user.role" />
									<label for="g_6">
										供应商
									</label>
									<input id="g_5" type="radio" value="寻购商"
										name="user.role" />
									<label for="g_5">
										寻购商
									</label>
								</td>
								<td>
								</td>
							</tr>
							<tr>
								<td class="tl">
									会员名
								</td>
								<td width="220">
									<input id="" class="reg_inp" type="text"
										name="user.username"
										style="width: 200px;" />
								</td>
							</tr>
								<tr>
								<td class="tl">
									性别
								</td>
								<td>
									<input id="g_6" type="radio" value="男"
										name="user.sex" />
									<label for="g_6">
										男
									</label>
									<input id="g_5" type="radio"  value="女"
										name="user.sex" />
									<label for="g_5">
										女
									</label>
								</td>
							</tr>
							<tr>
								<td class="tl">
									公司名称
								</td>
								<td width="220">
									<input id="" class="reg_inp" type="text"
										name="user.company"
										style="width: 200px;" />
								</td>
							</tr>
							<tr>
								<td class="tl">
									联系电话
								</td>
								<td width="220">
									<input id="" class="reg_inp" type="text"
										 name="user.tel"
										style="width: 200px;" />
								</td>
							</tr>
							<tr>
								<td class="tl">
									登录密码
								</td>
								<td>
									<input id="" class="reg_inp" type="password"
									    name="user.password"
										style="width: 200px;" />
								</td>

							</tr>
							<tr>
								<td class="tl">
									重复输入密码
								</td>
								<td>
									<input id="cpassword" class="reg_inp" type="password"
										name="cpassword"
										size="30" style="width: 200px;" />
								</td>
								<td>
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" class="my-btn-big"  value="同意条款提交" name="submit" />
								</td>

							</tr>

						</table>

					</form>
					
					<div id="agreement" style="width:700px;height:100px;overflow-y:scroll;border:#9DBFDA 1px solid;background:#FAFAFA;margin:auto;line-height:180%;padding:10px;">
				<center class="px14 f_b">请阅读本站服务条款</center>
				</div>


				</div>


			</div>


		</div>



	</body>
</html>
